package cn.itcast.consumer;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class RabbitConsumer {

    public static void main(String[] args) {
        //1. 加载核心配置文件
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath*:applicationContext-*.xml");
        //2. 启动
        context.start();
    }

}
